immutable reference is copyable, mutable reference is not copyable
- description
- No value
- aliases
- No value
- tags
- No value
- created
- 2023-04-01T10:38:03
- updated
- 2023-07-15T21:33:04
- title
- immutable reference is copyable, mutable reference is not copyable
- forum talking about immutable references implement Copy
- Copy marker, not trait
- When can't my type be Copy?
- Some types can't be copied safely. For example, copying
&mut Twould create an aliased mutable reference.
- Some types can't be copied safely. For example, copying
- Linked List의 IterMut을 구현하다가 밟은 레고조각 - Learning Rust with Entirely Too Many Linked Lists